<?php

namespace plugin\ycMassage\app\api\controller;

use plugin\ycMassage\app\BaseController;
use plugin\ycMassage\app\model\MassageRegions;
use support\Request;

class RegionsController extends BaseController
{
    protected $noNeedLogin = ["cache"];
    public function cache(Request $request)
    {
        try {
            $data = MassageRegions::getCache($request->appid);
            return $this->successRes($data);
        } catch (\Throwable $th) {
            return $this->fail($th->getMessage());
        }
    }
}
